package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

import com.entity.concat.ITimeEntity;
import com.ruoyi.common.core.domain.Entity;

/**
 * 字数区间配置对象 mg_word_size_conf
 * 
 * @author ruoyi
 * @date 2024-05-18
 */
public class MgWordSizeConf extends Entity implements ITimeEntity<Long>
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 类型 0 区间 1 以上 */
    @Excel(name = "类型 0 区间 1 以上")
    private Integer type;

    /** 开始范围 */
    @Excel(name = "开始范围")
    private BigDecimal start;

    /** 结束范围 */
    @Excel(name = "结束范围")
    private BigDecimal end;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setStart(BigDecimal start) 
    {
        this.start = start;
    }

    public BigDecimal getStart() 
    {
        return start;
    }
    public void setEnd(BigDecimal end) 
    {
        this.end = end;
    }

    public BigDecimal getEnd() 
    {
        return end;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("start", getStart())
            .append("end", getEnd())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
